using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace SmartApplication.Domain.Entity
{
    /// <summary>
    /// 供应商信息
    /// </summary>
    [Table("VendorModel")]
    public class VendorModel : BaseEntity
    {
        /// <summary>
        /// 溯源编号
        /// </summary>
        [Required]
        public long SourceId { get; set; }

        /// <summary>
        /// 原料编号
        /// </summary>
        public long MaterialsId { get; set; }

        /// <summary>
        /// 辅料编号
        /// </summary>
        public long ExcipientsId { get; set; }

        /// <summary>
        /// 添加剂编号
        /// </summary>
        public long AdditiveId { get; set; }

        /// <summary>
        /// 包材编号
        /// </summary>
        public long StuffId { get; set; }
    }
} 